;(function () {
	var viewportEl = document.querySelector('meta[name="viewport"]')
	var dpr = window.devicePixelRatio || 1
	dpr = dpr >= 3 ? 3 : dpr >= 2 ? 2 : 1
	var scale = 1 / dpr
	var content = `width=device-width, initial-scale=${scale}, user-scalable=no, maximun-scale=${scale},minimun-scal=${scale}`
	if (viewportEl) {
		viewportEl.setAttribute("content", content)
	} else {
		viewportEl = document.createElement("meta")
		viewportEl.setAttribute("name", "viewport")
		viewportEl.setAttribute("content", content)
		document.head.appendChild(viewportEl)
	}
	console.log(dpr)
})()
